package com.dxysun.design.composite.open;

public class Leaf extends Component
{
	private String name;

	public Leaf(String name)
	{
		this.name = name;
	}

	@Override
	public void operation()
	{
		System.out.println(name + " 叶子节点操作");
	}
}
